package com.jsyh.maidu.views;

import android.support.annotation.Nullable;

import com.jsyh.maidu.model.BaseModel;
import com.jsyh.maidu.model.GoodsInfoModel2;

public interface GoodDetailsView {
    void albumData(String[] albums);// 商品相册信息

    void onLoadGoodsInfoDatas(@Nullable GoodsInfoModel2 datas);

    /**
     * 加入购物车回调
     *
     * @param data
     */
    void onAddCarShopping(@Nullable BaseModel data);

    /**
     * 收藏商品
     *
     * @param data
     */
    void onCollectGoods(BaseModel data);

    /**
     * 取消收藏商品
     *
     * @param data
     */
    void cancelCollectGoods(BaseModel data);

}
